package com.hpc.mapper;

import entity.comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface commentMapper {
    public List<comment> getCommentsByArticleId(@Param("articleId") String articleId);
    public int addComment(comment comment);
    public int getCommentsCount(@Param("articleId") String articleId);
}
